home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 4: GNU Archives
/
Linux Cubed Series 4 - GNU Archives.iso
/
gnu
/
graphics.17
/
graphics
/
graphics-0.17
/
plot2ps
/
box.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-08-28
|
358 b
|
19 lines
/* this file is the box routine, which is a standard part of the plot(3)
library. It draws a box given the coordinates of the diagonal corners, x0,y0
and x1,y1 */
#include "plot3.h"
int
box (x0, y0, x1, y1)
int x0, y0, x1, y1;
{
move (x0, y0);
cont (x0, y1);
cont (x1, y1);
cont (x1, y0);
cont (x0, y0);
move (x1, y1);
return 0;
}